.class Lcom/waiqin365/lightapp/sales/m;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/sales/SalesDetailActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 6

    const/4 v5, 0x0

    const v4, 0x7f08013b

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/sales/SalesDetailActivity;->dismissProgressDialog()V

    iget v0, p1, Landroid/os/Message;->what:I

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/sales/b/a/h;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/sales/b/a/h;->b()Z

    move-result v1

    if-eqz v1, :cond_2

    iget-object v1, v0, Lcom/waiqin365/lightapp/sales/b/a/h;->b:Ljava/lang/String;

    if-eqz v1, :cond_1

    const-string/jumbo v1, "1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/sales/b/a/h;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/sales/b/a/h;->e:Lcom/waiqin365/lightapp/sales/c/a;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/sales/SalesDetailActivity;->a(Lcom/waiqin365/lightapp/sales/SalesDetailActivity;Lcom/waiqin365/lightapp/sales/c/a;)Lcom/waiqin365/lightapp/sales/c/a;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sales/SalesDetailActivity;->a(Lcom/waiqin365/lightapp/sales/SalesDetailActivity;)Lcom/waiqin365/lightapp/sales/c/a;

    move-result-object v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sales/SalesDetailActivity;->b(Lcom/waiqin365/lightapp/sales/SalesDetailActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sales/SalesDetailActivity;->c(Lcom/waiqin365/lightapp/sales/SalesDetailActivity;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sales/SalesDetailActivity;->d(Lcom/waiqin365/lightapp/sales/SalesDetailActivity;)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sales/SalesDetailActivity;->b(Lcom/waiqin365/lightapp/sales/SalesDetailActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sales/SalesDetailActivity;->b(Lcom/waiqin365/lightapp/sales/SalesDetailActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto :goto_0

    :sswitch_1
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/sales/b/a/g;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/sales/b/a/g;->b()Z

    move-result v1

    if-eqz v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/sales/b/a/g;->b:Ljava/lang/String;

    if-eqz v1, :cond_3

    const-string/jumbo v1, "1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/sales/b/a/g;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    const v2, 0x7f0806fb

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/sales/SalesDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v3}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    const-string/jumbo v1, "reinit_activity"

    const-class v2, Lcom/waiqin365/lightapp/sales/SalesListActivity;

    invoke-virtual {v0, v1, v5, v2}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/sales/SalesDetailActivity;->back()V

    goto/16 :goto_0

    :cond_3
    iget-object v1, v0, Lcom/waiqin365/lightapp/sales/b/a/g;->b:Ljava/lang/String;

    if-eqz v1, :cond_4

    const-string/jumbo v1, "-1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/sales/b/a/g;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/sales/b/a/g;->c:Ljava/lang/String;

    invoke-static {v1, v0, v3}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_4
    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/sales/SalesDetailActivity;->e(Lcom/waiqin365/lightapp/sales/SalesDetailActivity;)Landroid/content/Context;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightapp/sales/b/a/g;->a:I

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/sales/SalesDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v3}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :sswitch_2
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/sales/b/a/f;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/sales/b/a/f;->b()Z

    move-result v1

    if-eqz v1, :cond_8

    iget-object v1, v0, Lcom/waiqin365/lightapp/sales/b/a/f;->b:Ljava/lang/String;

    if-eqz v1, :cond_6

    const-string/jumbo v1, "1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/sales/b/a/f;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    const v2, 0x7f0806f6

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/sales/SalesDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v3}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    const-string/jumbo v1, "reinit_activity"

    const-class v2, Lcom/waiqin365/lightapp/sales/SalesListActivity;

    invoke-virtual {v0, v1, v5, v2}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/sales/SalesDetailActivity;->back()V

    goto/16 :goto_0

    :cond_6
    iget-object v1, v0, Lcom/waiqin365/lightapp/sales/b/a/f;->b:Ljava/lang/String;

    if-eqz v1, :cond_7

    const-string/jumbo v1, "-1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/sales/b/a/f;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_7

    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/sales/b/a/f;->c:Ljava/lang/String;

    invoke-static {v1, v0, v3}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_7
    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/sales/SalesDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v3}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_8
    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/m;->a:Lcom/waiqin365/lightapp/sales/SalesDetailActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/sales/SalesDetailActivity;->f(Lcom/waiqin365/lightapp/sales/SalesDetailActivity;)Landroid/content/Context;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightapp/sales/b/a/f;->a:I

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x3f1 -> :sswitch_1
        0x3f2 -> :sswitch_2
        0x3fe -> :sswitch_0
    .end sparse-switch
.end method
